package com.eshop.modules.shop.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.shop.service.dto.SystemStoreDto;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.shop.service.dto.SystemStoreQueryCriteria;
import java.util.List;
import com.eshop.modules.product.vo.SystemStoreQueryVo;
import com.eshop.modules.shop.domain.SystemStore;
import com.eshop.common.service.BaseService;

public interface SystemStoreService extends BaseService<SystemStore>
{
    SystemStoreQueryVo getYxSystemStoreById(final int id);
    
    List<SystemStoreQueryVo> getStoreList(final String latitude, final String longitude, final int page, final int limit);
    
    SystemStoreQueryVo getStoreInfo(final String latitude, final String longitude);
    
    Map<String, Object> queryAll(final SystemStoreQueryCriteria criteria, final Pageable pageable);
    
    List<SystemStore> queryAll(final SystemStoreQueryCriteria criteria);
    
    void download(final List<SystemStoreDto> all, final HttpServletResponse response) throws IOException;
}
